/*
 * ============LICENSE_START=======================================================
 *  Copyright (C) 2023 Nordix Foundation
 *  ================================================================================
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 *  SPDX-License-Identifier: Apache-2.0
 *  ============LICENSE_END=========================================================
 */

@import '../../../../../../../assets/styles/variables.less';
@import '../../../../../../../assets/styles/override.less';

.group-with-border {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid @tlv_color_u;
    .content-row:not(:last-of-type) {
        padding-bottom: 13px;
    }
}

.group-with-border-blue {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid @tlv_color_x;
    .content-row:not(:last-of-type) {
        padding-bottom: 13px;
    }
}

.i-sdc-form-select, .i-sdc-form-input {
    color: #5a5a5a;
    font-family: OpenSans-Regular, sans-serif;
    font-size: 14px;
    background-color: #ffffff;
    border-radius: 2px;
    margin: 0;
    padding: 0;
    border: solid 1px #d2d2d2;
    height: 30px;
    width: 100%;
    display: block;
}

.padding-bottom {
    padding-bottom: 10px;
}

.padding-zero {
    padding: 0px;
}

.side-by-side {
    display: flex;

    .form-item {
        flex: 1 1 auto;

        &:first-child {
            margin-right: 14px;
            flex-basis: 37%;
            flex-grow: 0;
            flex-shrink: 0;
        }

        &:nth-child(3) {
            margin-left: 14px;
            flex: 0.4;
        }
    }

    .form-item-50 {
        flex: 1 1 auto;
        flex-grow: 0;
        flex-basis: 50%;

        &:first-child {
            margin-right: 14px;
        }

        &:nth-child(3) {
            margin-left: 14px;
        }
    }

    .form-item-big {
        flex: 1 1 auto;
        flex-grow: 0;
        flex-basis: 90%;
    }

    .form-item-icon {
        margin-left: auto;
        margin-right: 14px;

        .sprite-new {
            margin-top: 110%;
        }
    }
}